string = "GDUF-CM-andy"
print(string[0:-1])
print(string[0:])
print(string[0:4])
print(string[-4:])
print(string[5:7])
print(string[-7:-5])
